class Cpu:

    def __init__(self, framework):
        self.framework = framework
        self.command = {}
        self.temperature = 0.00

    def get_temperature(self):
        self.command = {"type": "cpu-temperature"}
        if self.framework.status:
            self.framework.write(self.command)
